package com.kuang.demo.service;

import com.kuang.demo.bo.zzy.AdminBo.IdNameAvaRole2;
import com.kuang.demo.bo.zzy.AdminBo.ListPageLimit;
import com.kuang.demo.bo.zzy.AdminBo.ReCreateAdmin;
import com.kuang.demo.bo.zzy.AdminBo.ReturnUpdate;
import com.kuang.demo.bo.zzy.TotalItem;

public interface AdminService {
    TotalItem selectAllList(ListPageLimit listPageLimit);

    void deleteById(Integer id);

    ReturnUpdate updateAdmin(IdNameAvaRole2 idNameAvaRole2);

    ReCreateAdmin CreateAdmin(ReturnUpdate returnUpdate);

    int selectByUsername(String username);
}
